<?php
$listOptionParent   = ListOptionParent();
if($id>0 && $act=="edit")
{
    $sql_select     = "select * from tblpromotions where iId=$id";
    $promotion      = $dbsql->query_fetch($sql_select);
    $nameParent     = getNameParent($promotion['iParentId'],$promotion['cType']);
}else
{
    $promotion['cTitle'] = 'Great savings on one of our best selling tours';
    if($child=='hotel')
    {
        $promotion['cTitle'] = 'Great savings on one of our best hotels';
    }
}
?>